.site-footer {
  background-color: var(--dm-color-gb);
  color: #fff;
  font-family: var(--dm-font-family-base);
  padding: 9.5rem 20rem 6.1rem 22.2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  white-space: nowrap;
}

/* 第一列内容较多（Diamonds） */
.footer-column.diamonds {
  min-width: 27.4rem;
}

.footer-column.guides {
  min-width: 23.2rem;
}

.footer-column.story {
  min-width: 23.2rem;
}

.footer-column.footer-contact {
  min-width: 29.2rem;
}

.footer-column.footer-contact .subscribe-message {
  font-size: var(--dm-font-h3-size);
  font-weight: var(--dm-font-h2-weight);
  color: var(--dm-color-warning);
}

.footer-column h4 {
  font-size: var(--dm-font-h3-size);
  font-weight: var(--dm-font-h2-weight);
  margin-bottom: 2.4rem;
  color: #fff;
  font-family: var(--dm-font-family-base);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.footer-column ul li {
  margin-bottom: 1.2rem;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: var(--dm-font-body2-size);
  font-weight: var(--dm-font-body2-weight);
  line-height: var(--dm-font-body2-line);
}

.social-icons .social-link {
  display: inline-block;
  margin-right: 0.9rem;
  color: #fff;
  font-size: 1.8rem;
  transition: opacity 0.3s;
}

.social-icons .social-link svg path:hover {
  fill: var(--dm-color-primary); /* hover 时改变颜色（例如金色） */
}

.footer-contact p {
  color: #ccc;
  font-size: 15px;
  margin: 2.4rem 0 4.2rem;
}

.footer-logo img {
  width: 29.2rem;
  margin: 0 0 4.2rem;
}

.subscribe-form {
  display: flex;
  height: 4rem;
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  outline: none;
  font-size: var(--dm-font-body1-size);
  background-color: #f5f5f5;
}

/* 占位符颜色 */
.subscribe-form input::placeholder {
  color: var(--dm-color-subtext);
  font-size: var(--dm-font-body1-size);
}

.subscribe-form button {
  font-size: var(--dm-font-body1-size);
  background-color: var(--dm-gray-500);
  color: var(--dm-color-primary);
  border: 0.1rem solid var(--dm-color-primary);
  padding: 0.8rem;
  cursor: pointer;
  border-radius: 0.4rem;
  transition: background-color 0.3s;
}

.footer-bottom {
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-body2-weight);
  font-size: var(--dm-font-body2-size);
  color: #fff;
}

@media (width <= 768px) {
  .site-footer {
    padding: 8.9rem 2rem 8.2rem;
  }

  /* 隐藏移动端不需要的内容 */

  /* .subscribe-form,
  .social-icons,
  .footer-contact {
    display: none;
  } */

  .footer-column.guides {
    display: none;
  }

  .footer-column.story {
    display: none;
  }

  /* 调整整体布局为单列 */
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column ul li {
    margin-bottom: 2.2rem;
  }

  .footer-logo img {
    width: 42.7rem;
  }

  .subscribe-form {
    height: 9rem;
  }

  /* 底部版权 */
  .footer-bottom {
    margin-top: 4.2rem;
  }

  .subscribe-form button {
    padding: 2.3rem;
  }
}
